package edu.sctu.jarime.june.day20150618.HttpURLConnection.main;

import edu.sctu.jarime.june.day20150618.HttpURLConnection.data.ParamMap;
import edu.sctu.jarime.june.day20150618.HttpURLConnection.util.GetAndPostDemo;

import java.util.HashMap;

/**
 * Created by user19 on 2015/6/19.
 */
public class MainTestDemo {
    public static void main(String[] args) {
        HashMap<String,String> map= ParamMap.getparam("huangkai1", "huangkai", "huang_k@yeah.net");
        try {
            GetAndPostDemo.postURLConnection("http://api.ii.com.cn/openoauth", map);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
